package com.dq.health.entity.prescription;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 处方单表
 * 
 * @author chenxin
 */
public class PrescriptionOrder implements Serializable {

    /**
     * 处方单id
     */
    @TableId(value = "prescription_id", type = IdType.AUTO)
    private Long prescriptionId;

    /**
     * 处方单号
     */
    private String prescriptionSn;

    /**
     * 处方单类型
     */
    private Integer prescriptionType;

    /**
     * 患者id
     */
    private Long sickUserId;

    private String resultContent;

    private Integer resultLevel;

    /**
     * 处理结果时间
     */
    private Date resultTime;

    private Long doctorUserId;

    private BigDecimal totalAmount;

    /**
     * 单据状态
     */
    private Integer status;

    /**
     * 支付状态
     */
    private Integer paymentStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 单据创建人
     */
    private Long createUserId;

    /**
     * 更新时间
     */
    private Date updateTime;

    private Long updateUserId;

    private static final long serialVersionUID = 1L;

    /**
     * 获取处方单id
     */
    public Long getPrescriptionId() {
        return prescriptionId;
    }

    /**
     * 设置处方单id
     */
    public void setPrescriptionId(Long prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    /**
     * 获取处方单号
     */
    public String getPrescriptionSn() {
        return prescriptionSn;
    }

    /**
     * 设置处方单号
     */
    public void setPrescriptionSn(String prescriptionSn) {
        this.prescriptionSn = prescriptionSn;
    }

    public Integer getPrescriptionType() {
        return prescriptionType;
    }

    public void setPrescriptionType(Integer prescriptionType) {
        this.prescriptionType = prescriptionType;
    }

    /**
     * 获取患者id
     */
    public Long getSickUserId() {
        return sickUserId;
    }

    /**
     * 设置患者id
     */
    public void setSickUserId(Long sickUserId) {
        this.sickUserId = sickUserId;
    }

    public String getResultContent() {
        return resultContent;
    }

    public void setResultContent(String resultContent) {
        this.resultContent = resultContent;
    }

    /**
     * 获取处理结果时间
     */
    public Date getResultTime() {
        return resultTime;
    }

    /**
     * 设置处理结果时间
     */
    public void setResultTime(Date resultTime) {
        this.resultTime = resultTime;
    }

    public Long getDoctorUserId() {
        return doctorUserId;
    }

    public void setDoctorUserId(Long doctorUserId) {
        this.doctorUserId = doctorUserId;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getResultLevel() {
        return resultLevel;
    }

    public void setResultLevel(Integer resultLevel) {
        this.resultLevel = resultLevel;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取单据创建人
     */
    public Long getCreateUserId() {
        return createUserId;
    }

    /**
     * 设置单据创建人
     */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * 获取更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Integer getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(Integer paymentStatus) {
        this.paymentStatus = paymentStatus;
    }
}